3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
QuickDraw 3D provides routines that you can use to create and manipulate trimeshes. See "Trimeshes" for the definition of a trimesh.
You can use the Q3TriMesh_New function to create a new trimesh.
TQ3GeometryObject Q3TriMesh_New (const TQ3TriMeshData *triMeshData);
You can use the Q3TriMesh_Submit function to submit an immediate trimesh for drawing, picking, bounding, or writing.
TQ3Status Q3TriMesh_Submit (
const TQ3TriMeshData *triMeshData,
TQ3ViewObject view);
The Q3TriMesh_Submit function submits for drawing, picking, bounding, or writing the immediate trimesh whose shape and attribute set are specified by the triMeshData parameter. The trimesh is drawn, picked, bounded, or written according to the view characteristics specified in the view parameter.
You can use the Q3TriMesh_GetData function to get the data that defines a trimesh and its attributes.
TQ3Status Q3TriMesh_GetData (
TQ3GeometryObject triMesh,
TQ3TriMeshData *triMeshData);
You can use the Q3TriMesh_SetData function to set the data that defines a trimesh and its attributes.
TQ3Status Q3TriMesh_SetData (
TQ3GeometryObject triMesh,
const TQ3TriMeshData *triMeshData);
You can use the Q3TriMesh_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3TriMesh_GetData .
TQ3Status Q3TriMesh_EmptyData (TQ3TriMeshData *triMeshData);
Previous | QD3D Book | Overview | Chapter Contents | Next